//
//  EMADMiddleCell.m
//  ElectronicMall
//
//  Created by 史伟文 on 15/2/19.
//  Copyright (c) 2015年 cczu. All rights reserved.
//

#import "EMADMiddleCell.h"

@implementation EMADMiddleCell
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        NSArray *arrayOfViews = [[NSBundle mainBundle] loadNibNamed:@"EMADMiddleCell" owner:self options: nil];
        if(arrayOfViews.count < 1){
            return nil;
        }
        if(![[arrayOfViews objectAtIndex:0] isKindOfClass:[UICollectionViewCell class]]){
            return nil;
        }
        self = [arrayOfViews objectAtIndex:0];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

@end
